package edu.ustb.service.goods;

import com.github.pagehelper.PageInfo;
import edu.ustb.domain.goods.Goods;

import java.util.List;

public interface GoodsListService {

    // 查询所有商品
    List<Goods> findall();

    // 分页查询
    PageInfo<Goods> getPageGoodsByPageNum(int pageNum);


    Goods getGoodsDetailsByGoodsId(int goodsId);
 }
